package com.lanyan.system.domain.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.lanyan.common.annotation.RequiredField;
import com.baomidou.mybatisplus.annotation.TableId;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lanyan.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.lanyan.common.core.domain.BaseEntity;

/**
 * 用户地址Vo对象 account_address
 *
 * @author lanyan
 * @date 2024-11-26
 */
@Data
public class AccountAddressVo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId(value = "account_address_id", type = IdType.AUTO)
    @RequiredField(update = true,delete = true)
    private Long accountAddressId;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 所属用户 */
    @Excel(name = "所属用户")
    @ApiModelProperty("所属用户")
    private Long accountId;

    /** 姓名 */
    @Excel(name = "姓名")
    @ApiModelProperty("姓名")
    private String name;

    /** 联系方式 */
    @Excel(name = "联系方式")
    @ApiModelProperty("联系方式")
    private String phone;

    /** 所在小区 */
    @Excel(name = "所在小区")
    @ApiModelProperty("所在小区")
    private Long estateId;

    /** 选择楼栋 */
    @Excel(name = "选择楼栋")
    @ApiModelProperty("选择楼栋")
    private Long buildingId;

    /** 详细地址 */
    @Excel(name = "详细地址")
    @ApiModelProperty("详细地址")
    private String details;

    /** 是否默认（0不是 1是） */
    @Excel(name = "是否默认", readConverterExp = "0=不是,1=是")
    @ApiModelProperty("是否默认（0不是 1是）")
    private String isDefault;
}
